package com.muse.designpatterns.builder;

public class Worker {
    Car createA4LCar(){
        return new AudiBuilder().initalDoor("6速双离合变速箱").
                initalEngine("Audi4缸发动机").
                initalGear("A4L的门").
                getCar();
    }

    Car createR8Car(){
        return new AudiBuilder().initalDoor("7档湿式双离合变速箱").
                initalEngine("16缸跑车引擎").
                initalGear("碳纤维轻量级车门").
                initalWheel("米其林Top2竞速级轮胎").
                getCar();
    }
    Car createCommonBMW(){
        return new BMWBuilder().getCar();
    }
}
